﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Controls;

namespace SoftWareBoot
{
    /// <summary>
    /// Page_One.xaml 的交互逻辑
    /// </summary>
    public partial class Page_One : Page
    {
        public Page_One()
        {
            InitializeComponent();
        }

        public void SetInfo(string newversion, string newverdate, string localversion, string localverdate)
        {
            Txt_NewVersion.Text = newversion;
            
            Txt_NewVerdate.Text = newverdate;
            
            Txt_LocalVersion.Text = localversion==""?"（未找到本地系统文件）":localversion;

            Txt_LocalVerdate.Text = localverdate==""?"（未找到本地系统文件）":localverdate;

        }

    }
}
